package cn.wolfcode.p2p.business.service;

import cn.wolfcode.p2p.business.domain.BidRequest;
import cn.wolfcode.p2p.business.domain.PaymentSchedule;
import cn.wolfcode.p2p.business.query.BidReturnQuery;
import cn.wolfcode.p2p.util.PageResult;

public interface IPaymentScheduleService {
        void createPaymentSchedule(BidRequest br);

        PageResult selectForList(BidReturnQuery qo);

        PaymentSchedule getById(Long id);

        void update(PaymentSchedule ps);

        int getReturnSuccessMonthIndexNumber(Long bidRequestId, int paymentStateDone);
}
